home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Paint v7.1
/
Cloanto Personal Paint v7.1.iso
/
utilities
/
cloanto_gfx_dt
/
install
< prev
next >
Wrap
Text File
|
1997-03-22
|
2KB
|
83 lines
; $VER: Install 1.0
; Cloanto Internet Graphics DataTypes Installer Script
; Copyright ⌐ 1997 Cloanto Italia srl
; Cloanto is a registered trademark of Cloanto Italia srl
; "Installer and Installer project icon Copyright ⌐ 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
; Reproduced and distributed under license from Commodore"
; New installer icon design Copyright ⌐ 1994 Cloanto Italia srl
(if (< (/ (getversion "icon.library" (resident)) 65536) 39) (message "\nDataTypes require Amiga OS 3.0 or higher."))
(if (<> (exists "SYS:Classes") 2) (makedir "SYS:Classes" (infos)) )
(if (>= (+ (database "cpu")) 68020)
(
(set gif_datatype "gif.datatype.020")
(set jpeg_datatype "jpeg.datatype.020")
(set png_datatype "png.datatype.020")
(set xbm_datatype "xbm.datatype.020")
) (
(set gif_datatype "gif.datatype")
(set jpeg_datatype "jpeg.datatype")
(set png_datatype "png.datatype")
(set xbm_datatype "xbm.datatype")
)
)
(copyfiles
(prompt "Copying Format Descriptor Files")
(help @copyfiles-help)
(source "Devs/DataTypes")
(dest "DEVS:DataTypes")
(all)
(infos)
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying GIF DataType")
(help @copylib-help)
(source (tackon "Classes/DataTypes" gif_datatype))
(dest "SYS:Classes/DataTypes")
(newname "gif.datatype")
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying JPEG DataType")
(help @copylib-help)
(source (tackon "Classes/DataTypes" jpeg_datatype))
(dest "SYS:Classes/DataTypes")
(newname "jpeg.datatype")
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying PNG DataType")
(help @copylib-help)
(source (tackon "Classes/DataTypes" png_datatype))
(dest "SYS:Classes/DataTypes")
(newname "png.datatype")
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying XBM DataType")
(help @copylib-help)
(source (tackon "Classes/DataTypes" xbm_datatype))
(dest "SYS:Classes/DataTypes")
(newname "xbm.datatype")
(optional "nofail" "force")
(confirm)
)
(run "C:AddDataTypes QUIET REFRESH")
(message "\nInstallation complete.")
(exit (quiet))